package analiseSemantica;

    public class Block {
        VarDeclList varDeclListRef = null;
        StmtList stmtListRef = null;
        public int line;
          public Block(Object ob ) {
            if (ob instanceof VarDeclList)
            this.varDeclListRef = (VarDeclList) ob;

        }
        
        public Block(Object ob , Object ob2) {
            if (ob instanceof VarDeclList)
            this.varDeclListRef = (VarDeclList) ob;

            if( ob2 instanceof StmtList)
            this.stmtListRef = (StmtList) ob2;
        }



        public StmtList getStmtListRef() {
            return stmtListRef;
        }

        public void setStmtListRef(StmtList stmtListRef) {
            this.stmtListRef = stmtListRef;
        }

        public VarDeclList getVarDeclListRef() {
            return varDeclListRef;
        }

        public void setVarDeclListRef(VarDeclList varDeclListRef) {
            this.varDeclListRef = varDeclListRef;
        }




    }

